package com.zjy.entity;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhu
 * @since 2023-03-19
 */
@ApiModel(value = "Mail对象", description = "")
public class Mail implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String sendadd;

    private String receiveadd;

    private String mailsubject;

    private String sendtime;

    private String filename;

    @ApiModelProperty("附件位置")
    private String accessory;

    @ApiModelProperty("附件内容")
    private String content;

    @ApiModelProperty("附件位置")
    private String mailposition;

    @ApiModelProperty("邮件服务标识")
    private String isread;

    @ApiModelProperty("逻辑删除 1是删除  0是未删除")
    private Integer isdelete;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getSendadd() {
        return sendadd;
    }

    public void setSendadd(String sendadd) {
        this.sendadd = sendadd;
    }
    public String getReceiveadd() {
        return receiveadd;
    }

    public void setReceiveadd(String receiveadd) {
        this.receiveadd = receiveadd;
    }
    public String getMailsubject() {
        return mailsubject;
    }

    public void setMailsubject(String mailsubject) {
        this.mailsubject = mailsubject;
    }
    public String getSendtime() {
        return sendtime;
    }

    public void setSendtime(String sendtime) {
        this.sendtime = sendtime;
    }
    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }
    public String getAccessory() {
        return accessory;
    }

    public void setAccessory(String accessory) {
        this.accessory = accessory;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public String getMailposition() {
        return mailposition;
    }

    public void setMailposition(String mailposition) {
        this.mailposition = mailposition;
    }
    public String getIsread() {
        return isread;
    }

    public void setIsread(String isread) {
        this.isread = isread;
    }
    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    @Override
    public String toString() {
        return "Mail{" +
            "id=" + id +
            ", sendadd=" + sendadd +
            ", receiveadd=" + receiveadd +
            ", mailsubject=" + mailsubject +
            ", sendtime=" + sendtime +
            ", filename=" + filename +
            ", accessory=" + accessory +
            ", content=" + content +
            ", mailposition=" + mailposition +
            ", isread=" + isread +
            ", isdelete=" + isdelete +
        "}";
    }
}
